<?php
include("include/config.inc.php");
if(!isset($_SESSION['s_activId']))
{
  $_SESSION['s_urlRedirectDir'] = $_SERVER['REQUEST_URI'];
  header("Location:checkLogin.php");
}
$deletedriver = "DELETE FROM partyDetail
                   WHERE  partyDetailId = ".$_GET['partyDetailId'];
$deletedriverRes = mysql_query($deletedriver);
if(!$deletedriverRes)
{
	echo("DELETE FAIL");
}
else
{
	header("Location:partyType.php");
}
?>